package main

import (
	"regexp"
	"fmt"
)

const text = `My email is 673730411@qq.com
	email1 387625038@qq.com
	email2 8943190394@qq.com
	email3 9840381095@qq.com.cn`

func main() {
	re := regexp.MustCompile(`([a-zA-Z0-9]+)@([a-zA-Z0-9]+)(\.[a-zA-Z0-9.]+)`)
	match := re.FindAllStringSubmatch(text, -1)
	for _, v := range match {
		fmt.Println(v)
	}
}
